package uk.ac.staffs.student.autopilot.packet;

public class MagPacket implements PacketInterface{
	
	private int dataType;
	public int getDataType() {
		return dataType;
	}

	public void setDataType(int dataType) {
		this.dataType = dataType;
	}

	public int getMagX() {
		return magX;
	}

	public void setMagX(int magX) {
		this.magX = magX;
	}

	public int getMagY() {
		return magY;
	}

	public void setMagY(int magY) {
		this.magY = magY;
	}

	public int getMagZ() {
		return magZ;
	}

	public void setMagZ(int magZ) {
		this.magZ = magZ;
	}

	public int getMagHeading() {
		return magHeading;
	}

	public void setMagHeading(int magHeading) {
		this.magHeading = magHeading;
	}

	public void setCheckSum(int checkSum) {
		this.checkSum = checkSum;
	}

	private int magX;
	private int magY;
	private int magZ;
	private int magHeading;
	private int checkSum;
	
	public MagPacket(){
		dataType = 0;
		magX = 0;
		magY = 0;
		magZ = 0;
		magHeading = 0;
	}
	
	public MagPacket(final int magX, final int magY, final int magZ, final int magHeading){
		this.magX = magX;
		this.magY = magY;
		this.magZ = magZ;
		this.magHeading = magHeading;
	}

	@Override
	public int getCheckSum() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getPacketType() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String getPayload() {
		// TODO Auto-generated method stub
		return null;
	}

	
}
